<?php
/**
 * Created by PhpStorm.
 * User: 64
 * Date: 2017/3/23 0023
 * Time: 14:26
 */
namespace app\web\controller;
use app\src\insurance\logic\InsuranceOrderInfoLogic;
class Staticpage extends  Base{


    public function index(){
        $this->assignTitle('更多美好');
        return $this->fetch();
    }
    public function fg(){
        return $this->fetch();
    }

    public function fh(){
        return $this->fetch();
    }

    public function rr(){
        return $this->fetch();
    }

    public function cx(){
        return $this->fetch();
    }

    public function yl(){
        return $this->fetch();
    }

    public function about(){
        $this->assignTitle('关于我们');
        return $this->fetch();
    }
    public function fuli(){
        $this->assignTitle('我的福利');
        return $this->fetch();
    }
    public function fuck(){
        $this->assignTitle('我的福利');
        return $this->fetch();
    }

    public function fulilist(){
        $this->assignTitle('我的福利');
        return $this->fetch();
    }

    public function gd(){
        $this->assignTitle('更多');
        return $this->fetch();
    }

    public function insurance_car(){
        $id = $this->_param('id');
       $result = (new InsuranceOrderInfoLogic())->getInfo(['apply_id'=>$id,'status'=>0]);


        if($result['status']) {
            $payinfo = $result['info']['pay_info'];
            $payinfo = json_decode($payinfo, true);
            $this->assign('payinfo',$payinfo);
        }
        return $this->fetch();
    }
}